package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Tags;

import java.util.List;

/**
 * 博客标签表--服务类
 * @author mi
 * @create 2023/3/21 11:12
 */
public interface TagsService extends IService<Tags> {

    ResponseResult listTags(String name);

    ResponseResult insertTags(Tags tags);

    ResponseResult updateTags(Tags tags);

    ResponseResult deleteById(Long id);

    ResponseResult deleteBatch(List<Long> ids);

    ResponseResult getTagsById(Long id);

    ResponseResult top(Long id);

    //---------web端方法开始---------

    ResponseResult webList();
}
